<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8" errorPage="hello.jsp" %>
<%@ taglib uri="/struts-tags" prefix="s" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">
	<title>学生注册</title>
<style> 
input, button { border:10;vertical-align:middle; margin:8px; line-height:18px; font-size:18px } 
/*.btns { width:143px; height:40px;} */
.btns{padding: .5em 2em .55em;text-shadow: 0 1px 1px rgba(0,0,0,.3); outline:none;height:45px; color:white; background:#DA4F49; font-size:20px; cursor:pointer; -moz-border-radius: 15px; -webkit-border-radius: 15px;border-radius:15px;}
.btns:hover{ background:#B03840;}
</style> 
</head>
	<body>
	<div><br/><br/><br/></div>
	<div align="center"  style="position:absolute;height:50;width:500px;border-radius:15px;background-color:#EFFDFF;margin-left: 25%;margin-right: auto;float:right;margin-top:10px;margin-bottom:20px;padding:0 10px;" >
	<h2>欢迎学生注册在线考试系统</h2>
	
		<font color="red"><s:actionerror/></font>
		<font color="red"><s:actionmessage /></font>
		
		<s:form action="sign_up" namespace="" method="post">
			用户名：&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<s:textfield name="user.userID" value="学生学号：Sxxxx" onfocus="javascript:if(this.value=='学生学号：Sxxxx')this.value='';" /><br/>
			密码：&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<s:password name="user.password"/><br/>	
			再次输入密码：<s:password name="user.repassword"/><br/>	
			姓名：&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<s:textfield name="user.name"/><br/>
			<input type="hidden" name="user.type" value="S" />	
			<%-- 身份：
			<s:radio name="user.type" list="#{'T':'老师','S':'学生'}"/><br/> --%>
			<input type="reset" class="btns" value="重置" />	
			<input type="submit" class="btns" value="学生注册" />	
		</s:form>
	</div>
	</body>
</html>